﻿/* Start by setting display:none to make this hidden.
   Then we position it in relation to the viewport window
   with position:fixed. Width, height, top and left speak
   speak for themselves. Background we set to 80% white with
   our animation centered, and no-repeating */
.modal
{
	display: none;
	position: fixed;
	z-index: 1000;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	background: rgba( 255, 255, 255, .8 ) url('http://i.stack.imgur.com/FhHRx.gif') 50% 50% no-repeat;
}

/* When the body has the loading class, we turn
   the scrollbar off with overflow:hidden */
body.loading
{
	overflow: hidden;
}

/* Anytime the body has the loading class, our
   modal element will be visible */
body.loading .modal
{
	display: block;
}

body
{
	background-image: url("../images/bg.png");
}

/*網頁置中*/
#container
{
	/*IE6以下寫法*/ /* 	position: relative; 	left: 50%; 	margin-left: -400px; 	width: 800px; 	*/
	margin-left: auto;
	margin-right: auto;
	width: 800px;
	background-color: White;
}

#main
{
	/*最小高度*/
	/*height: auto !important;*/
	height: 600px;
	/*min-height: 400px;*/
    overflow:auto;
    margin: 0px auto;
}

#detail
{
    margin-left: auto;
	margin-right: auto;
    text-align:left;
    padding-left:10px;
    padding-right:10px;
}

/*導覽列舊版*/
/*nav ul
{
	list-style-type: none;
	margin: 0;
	padding: 0;
	overflow: hidden;
    background: #485e49;
}
nav li
{
	float: left;
}
nav a:link, nav a:visited
{
	text-decoration: none;
	padding: 5px 0;
	width: 100px;
	background: #485e49;
	color: #eee;
	float: left;
	text-align: center;
	border-left: 1px solid #fff;
}
nav a:hover, nav a:active
{
	background: #a2b3a1;
	color: #000;
}*/
/*導覽列新版*/
/*更改nav中ul的class可以替換顏色*/
nav ul
{
	font-family: Arial, sans-serif;
	font-weight: bold;
	text-transform: uppercase;
    margin: 0;
	margin-top: 0;
    margin-bottom: 10px;
	padding: 0 0 0 10px;
	list-style-type: none;
	font-size: 13px;
	background: #eee;
	height: 40px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-top: 2px solid #eee;
	border-left: 2px solid #eee;
	border-bottom: 2px solid #ccc;
	border-right: 2px solid #ccc;
}
nav ul li
{
	float: left;
	margin: 0;
}
nav ul li a
{
	text-decoration: none;
	display: block;
	padding: 0 20px;
	line-height: 40px;
	color: #666;
}
nav ul li a:hover, nav ul li.active a
{
	background-color: #f5f5f5;
	border-bottom: 2px solid #DDD;
	color: #999;
}

/* Black Menu */
nav ul.black
{
	border-top: 2px solid #333;
	border-left: 2px solid #333;
	border-bottom: 2px solid #000;
	border-right: 2px solid #000;
	background: #333;
}
nav ul.black a
{
	color: #FFF;
}
nav ul.black li a:hover, nav ul.black li.active a
{
	color: #EEE;
	background: #555;
	border-bottom: 2px solid #444;
}


/* Blue Menu */
nav ul.blue
{
	border-top: 2px solid #356AA0;
	border-left: 2px solid #356AA0;
	border-bottom: 2px solid #204061;
	border-right: 2px solid #204061;
	background: #356AA0;
}
nav ul.blue a
{
	color: #fff;
}
nav ul.blue li a:hover, nav ul.blue li.active a
{
	color: #90CDFF;
	background: #3D7BBB;
	border-bottom: 2px solid #356AA0;
}

/* Red Menu */
nav ul.red
{
	border-top: 2px solid #660000;
	border-left: 2px solid #660000;
	border-bottom: 2px solid #450000;
	border-right: 2px solid #450000;
	background: #660000;
}
nav ul.red a
{
	color: #fff;
}
nav ul.red li a:hover, nav ul.red li.active a
{
	color: #F27F84;
	background: #990000;
	border-bottom: 2px solid #660000;
}

/* Orange Menu */
nav ul.orange
{
	border-top: 2px solid #d15600;
	border-left: 2px solid #d15600;
	border-bottom: 2px solid #B44500;
	border-right: 2px solid #B44500;
	background: #d15600;
}
nav ul.orange a
{
	color: #fff;
}
nav ul.orange li a:hover, nav ul.orange li.active a
{
	color: #FA9B5B;
	background: #B44500;
	border-bottom: 2px solid #d15600;
}

footer
{
	font-size: 8pt;
	font-family: Arial;
	color: #666666;
	text-align: right;
}
